package mylibrary.com.thinking.java.chapter15.s1521;

public class TupleTest {

	public static TwoTuple<String, Integer> f() {
		return new TwoTuple<String, Integer>("hi", 47);
	}
	
	public static ThreeTuple<Amphibian, String , Integer> g() {
		return new ThreeTuple<Amphibian, String , Integer>(new Amphibian(), "hi", 47);
	}
	
	public static void main(String[] args) {
		TwoTuple<String, Integer> two = f();
		System.out.println(two);
		
		//two.first = "there";
		
		System.out.println(g());
		
	}
}
